package router

import (
	platformController "gitee.com/wangshh_123/cross-pay-go/src/controller/platform"

	"github.com/gin-gonic/gin"
)

// RegisterWebhookRoutes 注册webhook相关路由
func RegisterWebhookRoutes(r *gin.RouterGroup, webhookController *platformController.WebhookController) {
	// webhook路由组
	webhookGroup := r.Group("/webhook")
	{
		webhookGroup.POST("/photonpay", webhookController.HandlePhotonPayWebhook)
		webhookGroup.POST("/hlpay", webhookController.HandleHLPayWebhook)
	}
}
